/**
 * output package name
 */
package com.kingdee.eas.hr.base;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class HRBillStateEnum extends IntEnum
{
    public static final int SAVED_VALUE = 0;
    public static final int SUBMITED_VALUE = 1;
    public static final int AUDITING_VALUE = 2;
    public static final int AUDITED_VALUE = 3;
    public static final int AUDITEND_VALUE = 4;
    public static final int AUDITED_RELATED_VALUE = 5;

    public static final HRBillStateEnum SAVED = new HRBillStateEnum("SAVED", SAVED_VALUE);
    public static final HRBillStateEnum SUBMITED = new HRBillStateEnum("SUBMITED", SUBMITED_VALUE);
    public static final HRBillStateEnum AUDITING = new HRBillStateEnum("AUDITING", AUDITING_VALUE);
    public static final HRBillStateEnum AUDITED = new HRBillStateEnum("AUDITED", AUDITED_VALUE);
    public static final HRBillStateEnum AUDITEND = new HRBillStateEnum("AUDITEND", AUDITEND_VALUE);
    public static final HRBillStateEnum AUDITED_RELATED = new HRBillStateEnum("AUDITED_RELATED", AUDITED_RELATED_VALUE);

    /**
     * construct function
     * @param integer hRBillStateEnum
     */
    private HRBillStateEnum(String name, int hRBillStateEnum)
    {
        super(name, hRBillStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static HRBillStateEnum getEnum(String hRBillStateEnum)
    {
        return (HRBillStateEnum)getEnum(HRBillStateEnum.class, hRBillStateEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static HRBillStateEnum getEnum(int hRBillStateEnum)
    {
        return (HRBillStateEnum)getEnum(HRBillStateEnum.class, hRBillStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(HRBillStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(HRBillStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(HRBillStateEnum.class);
    }
}